package com.zg.scf.domain.req.rule;

import com.zg.common.core.req.AddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * DESCRIPTION
 *
 * @author zhanfeng.liang
 * @since 2025-07-14
 */

@Data
@ApiModel(value = "规则配置项")
public class RuleItemReq extends AddReq {

    @ApiModelProperty
    @NotNull(message="企业不能为空")
    private Long ruleId;

    @ApiModelProperty
    @NotEmpty(message="配置项目为空")
    private String item;

    @ApiModelProperty
    @NotEmpty(message="操作项不能为空")
    private String action;


    @ApiModelProperty
    private String direction;




}
